<div class="dish_list">
	
	<?php
if($dishes){	
			}
			else{

echo '<div style="font-size:16px; text-align:center">';
echo "暂无菜单，请直接拨打电话查询";
echo  "</div>";}
?>

  <?php foreach($dishes as $catid => $mycats): ?>
  <div class="menu">
    <h1><?=h($dishcat[$catid]['dish_cat_name'] ? $dishcat[$catid]['dish_cat_name'] : '默认分类');?></h1>
    <ul class="grid">
	<?php
		$t=1;
		foreach($mycats as $dish):
		$t++;
	?>
    
      <li class="dish-<?=(($t%4 <2) ? 1 : 2); ?>">
        <h3 class="rem-icon"><?=h($dish['name']);?></h3>
        <span>￥<?=$dish['price'];?></span> </li>
	<?php endforeach; ?>
    </ul>
    <div class="clear"></div>
  </div>
  <?php endforeach; ?>

  <div class="clear"></div>
</div>
